package hng.enums;

import lombok.Getter;
import org.springframework.web.bind.annotation.GetMapping;

@Getter
public enum CaptchaEnum {

    LOGIN(0, "常规"),
    PHONE(1, "手机");

    private Integer code;

    private String msg;

    CaptchaEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
